package demo07StrategyPattern;

/**
 * @author: WangPeng
 * @createTime: 2022/11/10 18:17
 * @description:
 * @version: v1.0
 */
public class CuXiaoContext {

    private CuXiao cuXiao;

    public CuXiaoContext(CuXiao cuXiao) {
        this.cuXiao = cuXiao;
    }
    public void use(){
        cuXiao.CuXiaoFangAn();
        cuXiao.daZhe();
    }
}
